from django.shortcuts import render
from django.http import HttpResponse
from gxzc import models
from tools.ClassUtil import get_classes


# Create your views here.
def generate_admin():
    for item in get_classes(models):
        temp = getattr(models, item)
        print(temp.__dict__.keys())


def test(request):
    generate_admin()
    return HttpResponse('test')
